<?php

namespace App\Console\Commands\Corn;

use GuzzleHttp\Client;
use Illuminate\Console\Command;

// 获取维涛数据
class GetWtData extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'corn:get-wt';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = '获取维涛数据';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    protected $guzzleOptions = [];

    /**
     * Execute the console command.
     *
     * @return mixed
     */
    public function handle()
    {
        $client = new Client();
        $client->get("http://yun.bohua2000.com/Home/BohuaReport/zfgl");
    }
}
